package com.cruise.game.model.vo.admin;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 财务统计VO
 * 
 * @author cruise
 * @date 2025-02-28
 */
@Data
public class FinanceStatisticsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 总充值金额
     */
    private BigDecimal totalRecharge;

    /**
     * 总提现金额
     */
    private BigDecimal totalWithdrawal;

    /**
     * 总订单金额
     */
    private BigDecimal totalOrderAmount;

    /**
     * 平台收入
     */
    private BigDecimal platformIncome;

    /**
     * 每日统计
     */
    private List<DailyStats> dailyStats;

    /**
     * 每日统计
     */
    @Data
    public static class DailyStats implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 日期
         */
        private String date;

        /**
         * 充值金额
         */
        private BigDecimal recharge;

        /**
         * 提现金额
         */
        private BigDecimal withdrawal;

        /**
         * 订单金额
         */
        private BigDecimal orderAmount;
    }
}
